#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL;
using Cephei.QL.Processes;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! The analytic pricing engine will be used if none if passed.  \ingroup instruments
	// </summary>
    [Guid ("0385202D-C3AE-4bd3-8B02-01392F5C6B88"),ComVisible(true)]
	public interface IBarrierOption : Cephei.QL.Instruments.IOneAssetOption
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double ImpliedVolatility(Double price, Cephei.QL.Processes.IGeneralizedBlackScholesProcess process, Microsoft.FSharp.Core.FSharpOption<Double> accuracy, Microsoft.FSharp.Core.FSharpOption<UInt64> maxEvaluations, Microsoft.FSharp.Core.FSharpOption<Double> minVol, Microsoft.FSharp.Core.FSharpOption<Double> maxVol);
    }

    // <summary> 
	// ! The analytic pricing engine will be used if none if passed.  \ingroup instruments Factory
	// </summary>
   	[ComVisible(true)]
    public interface IBarrierOption_Factory // : Collection_Factory<IBarrierOption, ICell<IBarrierOption>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IBarrierOption Create (QL.Instruments.Barrier.TypeEnum barrierType, Double barrier, Double rebate, Cephei.QL.Instruments.IStrikedTypePayoff payoff, Cephei.QL.IExercise exercise, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

